package org.example.mapper;

import org.example.entity.Student;

import java.util.List;

/**
 *
 */
public interface StudentMapper {
    //根据id查询单条记录
    Student getById(String id);

     List<Student> getAll();

     void insert(Student s);
     void update(Student s);
     void delete(Student s);
}
